package com.security.system.controller;

import com.security.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("user")
public class UserController {


    @GetMapping("")
    public Map<String,Object> getUser(){
        Map<String,Object> res = new HashMap<>();
        res.put("asd","asd");
        res.put("asd1","asd");
        res.put("asd2","asd");
        res.put("asd3","asd");
        return res;
    }

    @GetMapping("test")
    public R getTest(){
        return R.success("asdasdasdsvxzcvsadfasd");
    }
}
